package com.gagakuai.utils.concurrent;

import java.util.EventListener;
import java.util.concurrent.Future;

/*
 * @description: 通用监听器: 实现观察者模式
 * @author: houhong
 * @create: 2024-03-29 21:45
 */
public interface  GenericFutureListener<F extends Future<?>> extends EventListener {


    void operationComplete(F future) throws Exception;
}
